package cn.common.common.model;

import io.swagger.annotations.ApiModelProperty;

public class BaseDistrictInfo {
    @ApiModelProperty(value = "行政区名称")
    private String name;
    @ApiModelProperty(value = "行政区编号")
    private String adcode;
    @ApiModelProperty(value = "行政区等级")
    private String level;
    @ApiModelProperty(value = "上级行政区")
    private String fatherAdcode;

    public String getFatherAdcode() {
        return fatherAdcode;
    }

    public void setFatherAdcode(String fatherAdcode) {
        this.fatherAdcode = fatherAdcode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAdcode() {
        return adcode;
    }

    public void setAdcode(String adcode) {
        this.adcode = adcode == null ? null : adcode.trim();
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level == null ? null : level.trim();
    }
}